import React, {Fragment} from 'react'
import { NavLink } from 'react-router-dom'

export default class Acount extends React.Component {
  render () {
    return (
      <Fragment>
        <div className="header">
          <a className="avatar">
            <img 
            src="https://h5rsc-ssl.vipstatic.com/lefeng/build/f39c984d8edd5e686a2a88e59a87d886.png" 
            alt=""/>
          </a>
          <NavLink to='/login' className="login">
            登录
          </NavLink>
          &nbsp;/&nbsp;
          <NavLink to="/register" className="register">
            注册
          </NavLink>
        </div>
        <div className="order">
          <a className="all_order">
            <span className="mine_order">
              我的订单
            </span>
            <span className="mine_orders">
              全部订单<i className="iconfont icon-jiantou1 arr"></i>
            </span>
          </a>
          <div className="unfinished">
            <a href="">
              <i className="iconfont icon-daizhifu"></i><span>待支付</span></a>
            <a href="">
              <i className="iconfont icon-shinshopdaishouhuo"></i><span>待收货</span></a>
            <a href="">
              <i className="iconfont icon-shinshopdaipingjia"></i><span>待评价</span></a>
          </div>
        </div>
        <a className="area">
          <span>
            <i className="iconfont icon-dingwei position"></i>
            收获地区
            </span>
          <span>
            深圳市
            <i className="iconfont icon-jiantou1 city"></i>
            </span>
        </a>
      </Fragment>
    )
  }
}